<template>
  <div @click="login">登录页面</div>
</template>

<script lang="ts" setup>
const login = () => {
  window.location.href = '/test';
  console.log('登录');
};
</script>
